package org.example.demo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Promotion {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;

    private Long deptId;

    // 要通过的身份
    private String type;

    // 审核状态
    private Integer status;

    private String reason;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
